<!--
	新版oa文档编辑页面
-->
<link rel="stylesheet" type="text/css" href="../css/upload/uploadifive.css">
<link rel="stylesheet" type="text/css" href="../css/upload/uploadify.css">
<div style="padding:0px 15px 0px 15px;">
		
	    <div class="row">
			<form class="doc-form main-form" style="border: 1px solid #000;">
								
					<input name="id" id="id"  type="hidden"/>
					<input name="tmpid" id="tmpid"  type="hidden"/>
					<input name="bizcode" id="bizcode"  type="hidden"/>
					<input name="createTime" id="createTime"  type="hidden"/>
					<input name="creater" id="creater"  type="hidden"/>
					<input name="state" id="state"  type="hidden"/>
					<input name="typeId" id="typeId"  type="hidden"/>
					<input name="lobid" id="lobid"  type="hidden"/>
					<input name="status" id="status"  type="hidden"/>
					<input name="public_dept_id" id="public_dept_id"  type="hidden"/>
					<input name="public_user_id" id="public_user_id"  type="hidden"/>
					
					<div class="row row-border"   style="margin-right:0px;margin-left:0px;">
						<div class="col-md-2 border-label">
							<label class="control-label">文档名称</label>
						</div>
						<div class="col-md-10 border-left">
							<input type="text" class="form-control border-none" id="name" name="name"/>
						</div>
					</div>
					
					
					
					<div class="row row-border"   style="margin-right:0px;margin-left:0px;">      
						<div class="col-md-2 border-label">
							<label class="control-label">公开状态</label>
						</div>
				
						<div class="col-md-10 border-left">
							<div class="col-md-5 no-padding">
								<select id="state_id" name="state_id" class="form-control border-none">
									<option value="1">是</option>
									<option value="0" selected="true">否</option>
								</select>
							</div>
						  
				
							<div class="col-md-7 border-left">
								<div class="col-md-4 border-label">
									<label class="control-label">发布通知</label>
								</div>
								<div class="col-md-8 border-left">
									<select id="isTop" name="isTop" type="text" class="form-control border-none">
										<option value="1" >是</option>
										<option value="0" selected="true">否</option>
									</select>
								</div>
							</div>
						</div>
					</div>
					
					<div class="row row-border"   style="margin-right:0px;margin-left:0px;">      
						<div class="col-md-2 border-label">
							<label class="control-label">发布部门</label>
						</div>
				
						<div class="col-md-10 border-left">
							<div class="col-md-5 no-padding">
								<input type="text" class="form-control  border-none" id="public_dept_name" name="public_dept_name" readonly/>
							</div>
						  
				
							<div class="col-md-7 border-left">
								<div class="col-md-4 border-label">
									<label class="control-label">发布人员</label>
								</div>
								<div class="col-md-8 border-left">
									<input type="text" class="form-control border-none" id="public_user_name" name="public_user_name" readonly/>
								</div>
							</div>
						</div>
					</div>
					
					<div class="row row-border"   style="margin-right:0px;margin-left:0px;">      
						<div class="col-md-2 border-label">
							<label class="control-label">发布时间</label>
						</div>
				
						<div class="col-md-10 border-left">
							<div class="col-md-5 no-padding">
								<input type="text" class="form-control border-none" id="public_date" name="public_date"/>
							</div>
						  
				
							<div class="col-md-7 border-left">
								<div class="col-md-4 border-label">
									<label class="control-label">排序编号</label>
								</div>
								<div class="col-md-8 border-left">
									<input type="text" class="form-control border-none" id="sortedid" name="sortedid"/>
								</div>
							</div>
						</div>
					</div>
					
					<!-- 附件页面 --> 
					<div class="row row-border">      
						<div class="col-md-2 border-label">
							<label class="control-label">附件页面</label>
						</div>
				
						<div class="col-md-10 border-left">
							<div class="col-md-5 no-padding">
								<div class="col-md-1">
								</div>
								<div class="col-md-11">
									<div class="radio-inline">
									  <label>
									    <input type="radio" name="archiveContent" id="archiveContent1" value="1">是
									  </label>
									</div>
									<div class="radio-inline">
									  <label>
									    <input type="radio" name="archiveContent" id="archiveContent2" value="0">否
									  </label>
									</div>
								</div>
							</div>		  
				
							<div class="col-md-7">
								<span style="padding-left:20px;color:blue">选择是,文档附件将直接显示为页面内容</span>								
							</div>
						</div>
					</div>					
					
					<div class="row row-border"   style="margin-right:0px;margin-left:0px;">
						<div class="col-md-2 border-label">
							<label class="control-label">附件</label>
						</div>
						<div class="col-md-10 border-left">
							<div id="archive" name="archive"></div>
						</div>
					</div>
					
					<div class="row row-border"   style="margin-right:0px;margin-left:0px;">
						<div class="col-md-2 border-label"></div>
						<div class="col-md-10">
							<input id="file_upload" name="file_upload" type="file" multiple="true">								
							<div id="queue"></div>	
						</div>
					</div>					
											
					  
					<div class="row row-border"   style="margin-right:0px;margin-left:0px;">
						
											
						<textarea  class="form-control" id="lob_contents" name="lob_contents" rows="5" />
												
					</div>	
							
			</form>
		</div>
		
		
</div>

<div class="modal fade" id="doc-preview" tabindex="-1" role="dialog" aria-labelledby="doc-label" aria-hidden="true">
	<div class="modal-dialog" style="max-height:800px;">
		<div class="modal-content">
			<div class="modal-header">
				<button class="close" type="button" data-dismiss="modal" aria-hidden="true">x</button>
				<h4 class=""modal-title" id="doc-label">文档预览</h4>
			</div>
			<div class="modal-body" style="overflow-y:auto">
				
			</div>
			<div class="modal-footer"></div>
		</div>
	</div>
</div>
<script>

requirejs(['bsDocdetailEdit','domReady!'],function(dept,doc){
	dept.init({		
		auditEnable:true	
	});	
});
</script>